<template>
  <div class="welcome">
    <el-carousel :interval="4000" type="card" height="200px">
      <el-carousel-item v-for="(item, index) in carouselList" :key="index">
        <el-image :src="item"></el-image>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
  data() {
    return {
      carouselList:[
        'http://pic.netbian.com/uploads/allimg/200808/003219-15968179390168.jpg',
        'http://pic.netbian.com/uploads/allimg/200808/001431-1596816871eadf.jpg',
        'http://pic.netbian.com/uploads/allimg/190824/212516-1566653116f355.jpg',
        'http://pic.netbian.com/uploads/allimg/200618/005100-1592412660f973.jpg',
        'http://pic.netbian.com/uploads/allimg/200808/000644-15968164042fef.jpg',
        'http://pic.netbian.com/uploads/allimg/200807/233814-1596814694d781.jpg'
      ]
    }
  },
}
</script>

<style lang="less" scoped>

</style>